﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace ConsoleApplication2
{
    class Program
    {
        static void Main(string[] args)
        {
            int[] array = { 1, 2, 100, 4, 5, 6 ,120};
            int max = 0;
            for (int i = 1; i < array.Length ; i++)
            {
                if (array[i] > max)
                {
                    max = array[i];
                }
            }
            Console.WriteLine(max);
            Console.ReadLine();
        }
    }
}
